IVectorView.IndexOf Method

Retrieves the index of a specified item in the vector view.

Syntax

public:
bool IndexOf(
         T value,
         out uint32 index
)  

Parameters

value
Type: T 

The item to find in the vector view.

index
Type: uint32 

  If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.

Return value

Type: bool 

  True if the item is found; otherwise, false.

Remarks

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Foundation.Collections

Metadata: windows.winmd

See also

Reference

IVectorView Generic Interface

IVectorView Members

Windows.Foundation.Collections Namespace